<?php

class LsyiiversionCommand extends CConsoleCommand
{

	/**
	 * Execute the action.
	 * @param array command line parameters specific for this command
	 */
	public function run($args)
	{
		
		$plugins = Yii::E()->Plugin_GetList();
		echo <<<EOD

Description: {$plugins['yii']['property']->description->data}
Version: {$plugins['yii']['property']->version}
EOD;
		
		if(@$args[0] == 'end'){
			exit;
		}
		
	}

}